//
//  PaiController.h
//  Pai9
//
//  Created by Zhou Tao on 10-4-19.
//  Copyright 2010 Free. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Player.h"

#define MaxCards 30
#define PlayerMaxCards 10
#define BlackCards 6


@interface PaiController : NSObject 
{
	int *card;	
	int *bcflag;	//黑牌状态
	
	Player *ai1;
	Player *ai2;
	Player *player;
	
}
-(void) reStart;
-(int*) getRand10:(int) idx;
-(void) logOut;

#pragma mark checkFunction



@property (retain,nonatomic) Player *ai1;
@property (retain,nonatomic) Player *ai2;
@property (retain,nonatomic) Player *player;

@property (nonatomic) int* card;
@end
